package com.itheima.common;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页结果封装对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "分页查询插件类")
public class PageBean implements Serializable {
	//总记录数
	@ApiModelProperty("总记录数")
	private Long total;
	//当前页结果
	@ApiModelProperty("当前页结果")
	private List rows;
}
